package pers.zc.activiti.shejimoshi.extend;

/**
 * @Annotion:
 * @ClassName: Test
 * @Author: Lin Fuyuan
 * @Date: 2019/11/16  18:47
 * @Version: 1.0
 */
public class Test {
    public static void main(String[] args) {
        Parent p = new Child();
        try {
            ParentInterface inter = ChildInterfaceImpl.class.newInstance();
        } catch (InstantiationException e) {
            e.printStackTrace();
        } catch (IllegalAccessException e) {
            e.printStackTrace();
        }


        System.out.println(Parent.n);
        System.out.println(Child.n);
        System.out.println(Parent.n);


        Parent p1 = new Parent();
        p1.test();
        Parent p2 = new Child();
        p2.test();
        ((Child) p2).test2();

    }



}
